<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!--#include file="../../inc/conn.asp"-->
<!--#include file="../user/common/u.asp"-->
<%
'更新购物车数量
param=checkstr(inHTML(request.Form("param")))
name=checkstr(inHTML(request.Form("name")))
  if instr(name,"qty")>0 then
     conn.execute("update cart set Qty="&param&" where id="&replace(name,"qty","")&"")
  end if
  if instr(name,"content")>0 then
	 conn.execute("update cart set [content]='"&param&"' where id="&replace(name,"content","")&"")
  end if
  response.Write "{""info"":""已保存"",""status"":""y""}"
%>